import http from '@/utils/request.js'

/**
 * 更改用户信息
 */
export const changeName = (queryObj) => {
  return http({
    method: 'patch',
    url: '/mp/v1_0/user/profile',
    params: queryObj || {}
  })
}
/**
 * 获取个人信息
 */
export const reqGetName = () => {
  return http({
    method: 'get',
    url: '/mp/v1_0/user/profile'
  })
}
